package com.xingxue.module.user.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@ApiModel(value="ReplyResult", description = "结果对象")
public class ReplyResult extends Result {

    @ApiModelProperty(name="map", value = "回复集合")
    private Map<Integer, List<Reply>> map;

    public ReplyResult(boolean success, String message, Map<Integer, List<Reply>> map) {
        super(success, message);
        this.map = map;
    }
}
